<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class TeambitionUser extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        /**
            "id" => "5a011b1b9131510001ab042f"
            "nike" => "李森森"
            "name" => "李森森"
            "position" => "测试工程师"
            "staff" => "试用期"
            "email" => "lisensen@sunmi.com"
            "phone" => ""
            "entryday" => ""
            "province" => ""
            "city" => ""
            "birthday" => ""
         */
        Schema::create('teambition_user', function (Blueprint $table) {
            $table->increments('id');
            $table->string('teambition_sign');
            $table->string('nike');
            $table->string('avatar');
            $table->string('name');
            $table->string('position');
            $table->string('staff');
            $table->string('email');
            $table->string('phone');
            $table->string('entryday');
            $table->string('province');
            $table->string('city');
            $table->string('birthday');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('teambition_user');
    }
}
